<?php
/**
 * 后台状态码，从100xxxxxx开始，长度为9位，前三位表示模块、中间三位表示控制器中间件等、最后三位表示具体的操作
 * User:于小涛
 * Date:2020/2/16
 * Time:17:26
 */
return [
    'success'=>['code'=>0,'msg'=>'操作成功'],
    'paramserror'=>['code'=>999999999,'msg'=>'success'],
    'systemerror'=>['code'=>999999998,'msg'=>'系统错误，稍后再试'],
    'usernotlogin'=>['code'=>999999997,'msg'=>'用户没有登录'],




    'userloginerror'=>['code'=>100001001,'msg'=>'账号或者密码错误'],
    'userloginlock'=>['code'=>100001002,'msg'=>'账号被锁定'],
    'userloginroleerror'=>['code'=>100001003,'msg'=>'该账号未配置角色'],

    "promotiondaterepeat"=>['code'=>102001001,'msg'=>'日期重复'],
    "promotionisnottuiguangyuan"=>['code'=>102001002,'msg'=>'当前账号不是推广员'],
    "promotionisnotchuangyeguwen"=>['code'=>102001003,'msg'=>'当前账号不是创业顾问'],


];